{extend name="public/layout" /}
{block name="head"}{/block}
{block name="body"}
<body>
  <div class="container-fluid p-t-15">
    <div class="card">
      <div class="card-body">
        <form class="form-horizontal" id="form" data-url="/system/message/index.html">
          <div class="form-group">
            <label class="col-sm-2 control-label">姓名</label>
            <div class="col-sm-10">
              {:\\helper\\Form::_text('nick',$info.name,[
              "disabled"=>"disabled",
              ])}
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label">电话</label>
            <div class="col-sm-10">
              {:\\helper\\Form::_text('nick',$info.mobile,[
              "disabled"=>"disabled",
              ])}

            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label">邮箱</label>
            <div class="col-sm-10">
              {:\\helper\\Form::_text('nick',$info.email,[
              "disabled"=>"disabled",
              ])}
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label">留言信息</label>
            <div class="col-sm-10">
              {:\\helper\\Form::_textarea('content',$info.content, [
              "disabled"=>"disabled",
              ])}
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label">处理信息</label>
            <div class="col-sm-10">
              {:\\helper\\Form::_textarea('reply',$info.reply)}
            </div>
          </div>
          <div class="form-group">
            <div class="col-sm-10 col-sm-offset-2">
              <div class="pull-left">
                <button type="button" class="btn btn-primary btn-sub">保存</button>
                <button type="button" class="btn btn-default btn-reset">重置</button>
              </div>
              <div class="pull-left m-l-15">
                <p class="error-msg"></p>
              </div>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>
  <script>
    formHelper.init();
    formHelper.subForm();
  </script>
</body>
{/block}